package net.wanho.shop.mapper;

import net.wanho.shop.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author：汤小洋
 * Date：2025-09-16 15:52
 * Description：<描述>
 */
@Mapper
public interface UserMapper {
    void insert(User user);

    User selectByUserNameAndPassword(@Param("userName") String userName,@Param("password") String password);

    User selectByUserName(String userName);

    List<User> selectParams(User user);
}
